package com.zhifei.web.controller.jd;

import com.zhifei.common.utils.Result;
import com.zhifei.system.service.HlyService;
import com.zhifei.system.service.JdService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/jd")
@Api(tags="金蝶接口管理")
public class JdController {

    @Autowired
    private JdService jdService;

    @GetMapping("/listOtherApOrder")
    @ApiOperation("其他应付单列表")
    public Result listOtherApOrder(){
        return jdService.listOtherApOrder();
    }

    @GetMapping("/listReceiveBill")
    @ApiOperation("收款单列表")
    public Result listReceiveBill(){
        return jdService.listReceiveBill();
    }

}


